Skip to content

Progressive merkleization support + Enforce soft unmarshal limits - #22

Merged
syjn99 merged 10 commits into
mainfrom
enforce-soft-unmarshal-limits
Oct 26, 2026
Merged

syjn99 merged 10 commits into
mainfrom
enforce-soft-unmarshal-limits

Conversation

@kasey

@kasey kasey commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

This PR merges the changes to support progressive merkleization, inc the additional commits to enforce ssz-max limits at unmarshal time. The updated code w/ progressive support is already being used downstream in prysm.

@syjn99 syjn99 changed the title Enforce soft unmarshal limits Progressive merkleization support + Enforce soft unmarshal limits Oct 7, 2026
Comment thread .github/workflows/test.yaml Fixed
@syjn99

syjn99 commented Oct 7, 2026

Copy link
Copy Markdown
Member

Note

Prysm already uses 932cc73 from OffchainLabs/prysm#17412. I'm currently trying to merge this into main branch with all linters and formatters pass, starting from 8347386

syjn99 and others added 2 commits October 7, 2026 20:47
…ntain permissions'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@syjn99 syjn99 mentioned this pull request Oct 7, 2026
@syjn99
syjn99 force-pushed the enforce-soft-unmarshal-limits branch from 9181196 to 18fe49f Compare October 7, 2026 12:56
@syjn99
syjn99 added this pull request to stack #24 October 15, 2026 07:56
@syjn99
syjn99 force-pushed the enforce-soft-unmarshal-limits branch 2 times, most recently from 18fe49f to ffa7aee Compare October 15, 2026 13:46
@syjn99
syjn99 merged commit 8585912 into main Oct 26, 2026
6 checks passed
syjn99 added a commit to syjn99/prysm that referenced this pull request Oct 29, 2026
**What does this PR do? Why is it needed?**

This PR updates `methodical-ssz` version to
[`c3f77ce44447`](https://github.com/OffchainLabs/methodical-ssz/tree/c3f77ce4444791c8d75cb950c8324f482ebebbed)
which includes these three PRs:

- OffchainLabs/methodical-ssz#22: Mostly worked
by Kasey on Progression merkleization support. This version is already
used in our production path (`932cc738`).
- OffchainLabs/methodical-ssz#23: Needed for
EIP-8015 and Decoupled consensus work. This fixes an issue when we have
"inactive" fields in the progressive container.
- OffchainLabs/methodical-ssz#21: Unlocks SSZ
Engine work.

**Which issue does this PR fix?**

N/A

**Other notes for review**

The diff in this PR, except dependency changes, is ALL comment changes.
Now generated codes for computing HTR of the progressive container
denote `Field` to `Position` which is much more accurate. No functional
changes intended as there is no "inactive" fields in Fulu/Gloas.

**Acknowledgement**

- [x] I have read
[CONTRIBUTING.md](https://github.com/OffchainLabs/prysm/blob/develop/CONTRIBUTING.md)
and my PR follows its checklist.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants